'''
Created on 13/lug/2012

@author: esgrano
'''

class host():
    '''
    Define an host.
    '''
    __myHost = ""
    __myIP   = ""

    def __init__(self):
        '''
        Constructor
        '''
    def setHost(self, host, ip):
        self.__myHost = host
        self.__myIP = ip
    
    def setHostName(self,host):
        self.__myHost = host
        
    def setIP(self,ip):
        self.__myIP = ip
        
    def getHostName(self):
        return self.__myHost
    
    def getIP(self):
        return self.__myIP
        